/*
 * cradlecc.h
 *
 *  Created on: Nov 28, 2010
 *      Author: cpy.prefers.you@gmail.com
 */

#ifndef CRADLECC_H_
#define CRADLECC_H_

#include "headers.h"

#define LABEL_LEN               0x0f
#define MAX_PRECEDENCE_LEVEL    0x1C
#define MIN_PRECEDENCE_LEVEL    0x10

#define IS_DECLARATION_HEAD(Type)   (Type == KEYWORD_STORAGE_CLASS || Type == KEYWORD_MODIFIER_LEN || \
                                     Type == KEYWORD_MODIFIER_SIGN || Type == KEYWORD_QUALIFIER || \
                                     Type == KEYWORD_DATA_TYPE )

#define IS_DECLARATION_BODY(Type)   (Type == TYPE_IDENTIFIER)

#endif /* CRADLECC_H_ */
